package com.lxd.sunso.product.dao;

import com.lxd.sunso.product.entity.RoleEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 
 * 
 * @author lxd
 * @email sunlightcs@gmail.com
 * @date 2020-11-18 08:32:43
 */
@Mapper
public interface RoleDao extends BaseMapper<RoleEntity> {

    List<String> getRolesByUserName(String username);
}
